home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libruby1.8.postinst < prev    next >
Encoding:
Text File  |  2007-03-07  |  650 b   |  29 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_usrlocal
  4. if [ "$1" = configure ]; then
  5. (
  6.     while read line; do
  7.         set -- $line
  8.         dir="$1"; mode="$2"; user="$3"; group="$4"
  9.         if [ ! -e "$dir" ]; then
  10.             if mkdir "$dir" 2>/dev/null; then
  11.                 chown "$user":"$group" "$dir"
  12.                 chmod "$mode" "$dir"
  13.             fi
  14.         fi
  15.     done
  16. ) << DATA
  17. /usr/local/lib 2775 root staff
  18. /usr/local/lib/site_ruby 2775 root staff
  19. /usr/local/lib/site_ruby/1.8 2775 root staff
  20. /usr/local/lib/site_ruby/1.8/i486-linux 2775 root staff
  21. DATA
  22. fi
  23. # End automatically added section
  24. # Automatically added by dh_makeshlibs
  25. if [ "$1" = "configure" ]; then
  26.     ldconfig
  27. fi
  28. # End automatically added section
  29.